﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.Roles
{
    public class RoleUpdateCommand : IRequest<APIResult<object>>
    {
        public int RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateName { get; set; } 
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 是否删除 true 是删 false 否未删
        /// </summary>
        public bool IsDeleted { get; set; }

    }
}
